package org.linlinjava.litemall.db.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.*;

import java.util.List;

/**
 * 用户佣金
 */
@Mapper
public interface LitemallCommissionLogMapper {
    List<LitemallCommissionLog> queryList(@Param("params") LitemallCommissionLog params, @Param("sort") String sort, @Param("order") String order);

    List<LitemallCommissionLog> queryByExample(LitemallCommissionLogExample example);

    List<LitemallCommissionApply> queryUserCommission(LitemallCommissionLogExample example);

    int update(LitemallCommissionLog log);

    int save(LitemallCommissionLog log);

}
